//
//  ISGDownloadDelegate.h
//  ISGDownloadManager
//
//  Created by apple on 2020/7/20.
//

#import <Foundation/Foundation.h>
#import "ISGDownloadModel.h"

// 下载代理
@protocol ISGDownloadDelegate <NSObject>

// 更新下载进度
- (void)downloadModel:(ISGDownloadModel *)downloadModel didUpdateProgress:(ISGDownloadProgress *)progress;

// 更新下载状态
- (void)downloadModel:(ISGDownloadModel *)downloadModel didChangeState:(ISGDownloadState)state filePath:(NSString *)filePath error:(NSError *)error;

@end
